package com.cool.modelmapper;

import org.mapstruct.Mapper;

import com.cool.modelmapper.model.Apple;
import com.cool.modelmapper.model.Fruit;

/**
 * @author bian
 * @date 2021-03-17
 */
@Mapper(componentModel = "spring")
public interface DtoMapper {
    Apple convert2Apple(Fruit fruit);
}
